function resultDownload1() {
    html2canvas(document.body, {
        useCORS: true,
        scrollY: -window.scrollY
        // 其他配置项
    }).then(function (canvas) {
        // 将canvas转换为DataURL格式
        const dataURL = canvas.toDataURL('image/png');
        // 创建a标签并模拟点击下载
        const link = document.createElement('a');
        link.href = dataURL;
        link.download = 'screenshot.png';
        document.body.appendChild(link);
        link.click();
        document.body.removeChild(link);
    });
}
